﻿using MrPP.UX;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace MrPP.SerriedCabinet
{
    [System.Serializable]
    public struct BoxLocation
    {
        public int box;
        public int layer;
        public int sile;
        public Box.Type type;

        public override string ToString()
        {
            return "第" + (box+1) + "排," +(layer+1) + "层,"+ (type==Box.Type.Left?"左侧":"右侧") + (sile+1) + "节";
        }
    }
    public struct ShelveData
    {
        public string sn;
        public BoxLocation location;

    }
    public interface IShelveModel
    {
     
        void doPlay();
        void doStop();
        void doLast();
        void doNext();
        void doBinding(int id);
        void doSelected(BoxLocation location);

        void doScanning(string sn);

    }
}